package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 招生战队
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("enroll_team")
@ApiModel(value = "EnrollTeam对象", description = "招生战队")
public class EnrollTeam implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long pid;

    private Long schoolId;

    private String schoolName;

    private String name;

    @ApiModelProperty("战队目标")
    private Integer goalNum;

    @ApiModelProperty("状态0关闭，1正常")
    private Integer status;

    private Integer sort;

    @ApiModelProperty("战队logo")
    private String logo;

    @ApiModelProperty("战队口号")
    private String slogan;

    @ApiModelProperty("队长id")
    private Long captainId;

    @ApiModelProperty("统计开始日期")
    private LocalDate startDate;

    @ApiModelProperty("统计结束日期")
    private LocalDate endDate;

    private Integer deleted;

    private LocalDateTime createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }
    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }
    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getGoalNum() {
        return goalNum;
    }

    public void setGoalNum(Integer goalNum) {
        this.goalNum = goalNum;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }
    public String getSlogan() {
        return slogan;
    }

    public void setSlogan(String slogan) {
        this.slogan = slogan;
    }
    public Long getCaptainId() {
        return captainId;
    }

    public void setCaptainId(Long captainId) {
        this.captainId = captainId;
    }
    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }
    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "EnrollTeam{" +
            "id=" + id +
            ", pid=" + pid +
            ", schoolId=" + schoolId +
            ", schoolName=" + schoolName +
            ", name=" + name +
            ", goalNum=" + goalNum +
            ", status=" + status +
            ", sort=" + sort +
            ", logo=" + logo +
            ", slogan=" + slogan +
            ", captainId=" + captainId +
            ", startDate=" + startDate +
            ", endDate=" + endDate +
            ", deleted=" + deleted +
            ", createdAt=" + createdAt +
        "}";
    }
}
